<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>分组商品管理</title>
    <meta name="keywords" content="">
    <meta name="description" content="">

    <link rel="shortcut icon" href="favicon.ico">
    <link href="css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="css/plugins/bootstrap-table/bootstrap-table.min.css" rel="stylesheet">
    <link href="css/animate.css" rel="stylesheet">

    <!--jQuery-confirm-->
    <link href="css/plugins/jquery-confirm/jquery-confirm.min.css" rel="stylesheet">


    <!-- 全局js -->
    <script src="js/jquery.min.js?v=2.1.4"></script>
    <script src="js/bootstrap.min.js?v=3.3.6"></script>
    <script src="js/core.js"></script>
</head>
<body>

<div>
    <a class=" btn btn-inline btn-sm dz-message drop-a" href="goods_group.html" style="font-size: 16px;text-decoration:underline">管理分组</a>
</div>
<br>
<div>
    <label class="">选择产品线</label>
    <select id="groupType" name="" class="form-control" style="width: 40%;">
        <option value="0">蜜哆哆</option>
        <option value="1">蜜雅阁</option>
        <option value="2">品牌馆</option>
    </select>
</div>

<br>
<div>
    <label class="">选择分组(二级分组可选)</label>
    <select id="curGroup" name="" class="form-control" style="width: 40%;">
        <!--    <optgroup data-id="" label="">
            </optgroup>
            <optgroup label="Group 2">
                <option>Option 2.1</option>
                <option>Option 2.2</option>
            </optgroup>-->
    </select>
</div>
<br>
<div>
    <div>
        <label class="">操作</label>
        <select id="optType" name="" class="form-control" style="width: 40%;">
            <option value="0">添加商品到当前分组</option>
            <option value="1">管理当前分组已有商品</option>
        </select>
    </div>
    <div class="example-wrap">
        <div class="example">
            <div class="btn-group hidden-xs" id="addGroupToolbar" role="group">
                <button id="btn-addtoGroup" type="button" class="btn btn-outline btn-default" onclick="addToGroup();">
                    <i class="glyphicon glyphicon-plus" aria-hidden="true">添加到分组</i>
                </button>
                <button id="btn-rmfromGroup" type="button" class="btn btn-outline btn-default" onclick="rmFromGroup()" style="display:none">
                    <i class="glyphicon glyphicon-trash" aria-hidden="true">从当前分组移除</i>
                </button>
            </div>
            <h3 style="text-align: center"><span id="tbTitle">尚未分组商品列表</span></h3>
            <table id="addTo-index-goods"></table>
            <table id="manage-index-goods"></table>
        </div>
    </div>
</div>


<!--bootstrap-table-->
<script src="js/plugins/bootstrap-table/bootstrap-table.min.js"></script>
<script src="js/plugins/bootstrap-table/locale/bootstrap-table-zh-CN.min.js"></script>

<!--alert-beautify-->
<script src="js/plugins/jquery-confirm/jquery-confirm.min.js"></script>
<!--自己加的美化alert、confirm配置-->
<script src="js/alert-beautify.js"></script>

<script src="js/goods_addToGroup.js"></script>
</body>
</html>